import PendingOrdersQuery from "../views/Team/StocktakingManagement/PendingOrders";
import PendingOrderConfirmationQuery from "../views/Team/StocktakingManagement/PendingOrderConfirmation";
import ConfirmOrderQuery from "../views/Team/StocktakingManagement/ConfirmOrder";
import MenuManage from "../views/Team/Menu/MenuManage";

import { createBrowserRouter } from "react-router-dom";

import AddWarehouse from "../views/Team/WarehouseManagement/AddWarehouse";
//import App from "../App";
import ProductManageQuery from "../views/Team/BasicManagement/ProductManageQuery";
import AddProductManage from "../views/Team/BasicManagement/AddProductManage";
import ShelfManageQuery from "../views/Team/BasicManagement/ShelfManage/ShelfManageQurey";

import BoxManageQuery from "../views/Team/InventoryManagement/BoxManageQuery";
import AddInandoutofStorage from "../views/Team/InventoryManagement/AddInandoutofStorage";
import InandoutofStorageQuery from "../views/Team/InventoryManagement/InandoutofStorageQuery";

import QueryPendingFreight from "../views/Team/DeliveryOrderManagement/QueryPendingFreight";
import RechargeUser from "../views/Team/SystemUser/RechargeUser";


const router = createBrowserRouter([
  {
    path: "/",
    element: <MenuManage></MenuManage>,
    children: [
      {
        path: "ProductManageQuery",
        element: <ProductManageQuery></ProductManageQuery>,
      },
      {
        path: "PendingOrders",
        element: <PendingOrdersQuery></PendingOrdersQuery>,
      },
      {
        path: "PendingOrderConfirmation",
        element: <PendingOrderConfirmationQuery></PendingOrderConfirmationQuery>,
      },
      {
        path: "ConfirmOrder",
        element: <ConfirmOrderQuery></ConfirmOrderQuery>,
      },
      {
        path: "AddProductManage",
        element: <AddProductManage></AddProductManage>,
      },
      {
        path: "BoxManageQuery",
        element: <BoxManageQuery></BoxManageQuery>,
      },
      {
        path: "QueryPendingFreight",
        element: <QueryPendingFreight></QueryPendingFreight>,
      },
      {
        path: "AddInandoutofStorage",
        element: <AddInandoutofStorage></AddInandoutofStorage>,
      },
      {
        path: "InandoutofStorageQuery",
        element: <InandoutofStorageQuery></InandoutofStorageQuery>,
      },
      {
        path: "ShelfManageQurey",
        element: <ShelfManageQuery></ShelfManageQuery>,
      },
      {
        path: "AddWarehouse",
        element: <AddWarehouse></AddWarehouse>,
      },
      {
        path: "RechargeUser",
        element: <RechargeUser></RechargeUser>,
      },
      {
        path: "ShelfManageQuery11",
        element: <div>货架总览页面 - 待开发</div>,
      },
      {
        path: "QueryCompletedFreight",
        element: <div>已发货运单页面 - 待开发</div>,
      },
      {
        path: "FinancialDetails",
        element: <div>财务明细页面 - 待开发</div>,
      },
      {
        path: "IdCardManage",
        element: <div>身份证管理页面 - 待开发</div>,
      },
    ],
  },
]);

export default router;
